<me:UIAP06 x:Class="WPFExcelReport.TAE11"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT"   
                     xmlns:DR="clr-namespace:WPFExcelReport;assembly=TDRAUFTR"  
                    xmlns:AM="clr-namespace:WPFExcelReport;assembly=TAMSTAMM" 
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIAP06.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter  x:Key="nbv"/>
        <ucd:NOTConverter x:Key="not"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:DividebyM x:Key="dm"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIAP06.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
        </Grid.RowDefinitions> 
        <DataGrid  Grid.Row="1"  Grid.Column="0" 
                   VerticalAlignment="Top"  
                   AutoGenerateColumns="False"
                   EnableRowVirtualization="False"
                   IsReadOnly="True"
                   VerticalScrollBarVisibility="Auto"
                   HorizontalScrollBarVisibility="Auto"
                   HeadersVisibility="Column"     
                   ItemsSource="{Binding Source={StaticResource ResourceKey=vwMaster}}" 
                   IsSynchronizedWithCurrentItem="True" 
                   x:Name="dlgMaster">
            <DataGrid.Columns>
                <DataGridTextColumn Binding="{Binding APAEAEVOR}"  Header="{Binding Source={Localization:Translate Word=条件}}" Width="Auto"/>
                <DataGridTextColumn Binding="{Binding AMEMESCHL}"  Header="{Binding Source={Localization:Translate Word=类型}}" Width="Auto"/>
                <DataGridTextColumn Binding="{Binding AMEKBEZ,Converter={StaticResource gb2312}}"  Header="{Binding Source={Localization:Translate Word=说明}}" Width="40"/>
                <DataGridTextColumn Binding="{Binding APAEMODNR}" Header="{Binding Source={Localization:Translate Word=模块}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APAEEINSTNR}" Header="{Binding Source={Localization:Translate Word=项目}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APAEWERTX}" Header="{Binding Source={Localization:Translate Word=选项}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APAEWERTN,Converter={StaticResource dm}}" Header="{Binding Source={Localization:Translate Word=工艺值}}" Visibility="Collapsed" Width="Auto"/>
            </DataGrid.Columns>
        </DataGrid>
    </Grid>
</me:UIAP06>
